.cart-box{
    width: 100%;
    height: 361px;
    // background: red;
    padding: 20px 0px;
    box-sizing: border-box;
    .cart-box-center{
        width: 1220px;
        height: 321px;
        background: #f5f5f5;
        margin: 0 auto;
        border: 1px solid #999;
        border-radius: 5px;
        .title{
            width: 1220px;
            height: 61px;
            box-sizing: border-box;
            line-height: 61px;
            padding: 0px 10px 0px 30px;
            h2{
                display: block;
                font-size: 18px;
                color: rgb(44, 43, 41);
            }
        }
    } 
}
.small-title{
    width: 1220px;
    height: 164px;
    box-sizing: border-box;
    .cart-small-title{
        width: 1218px;
        height: 39px;
        border-top: 1px solid #999;
        border-bottom: 1px solid #999;
        padding: 0 0 0 30px;
        line-height: 39px;
        box-sizing: border-box;
        span:nth-child(1){
            color: #838383;
            font-size: 12px;
            float: left;
        }
        .cart-small-title-r{
            min-width: 548px;
            float: right;
            display: flex;
            // margin-right: -50px;
            span{
               flex: 1; 
               text-align: center;
               color: #838383;
            font-size: 12px;
                // margin-left: 500px;
            }
        }
    }
    .cart-items{
        width: 1218px;
        height: 110px;
        padding: 15px 0px;
        .cart-item-l-1{
            float: left;
            span{
                display: block;
                width: 86px;
                float: left;
                text-align: center;
                line-height: 110px;
            }
            img{
                width: 80px;
                padding: 15px;
            }
        }
        .cart-item-l-2{
            float: left;
            width: 380px;
            height: 110px;
            padding-top: 30px;
            padding-bottom: 30px;
            box-sizing: border-box;
            p:nth-child(1) a{
                text-decoration: none;
                font-size: 16px;
                color: #333;
            }
            p:nth-child(2) a{
                text-decoration: none;
                font-size: 12px;
                color: #999;
            }
        }

        .cart-item-r{
            width: 544px;
            display: flex;
            float: right;
            div{
                flex: 1;
            }
            .cart-item-r-1{
                text-align: center;
                line-height: 110px;
            }
            .cart-item-r-2{
                text-align: center;
                line-height: 110px;
                p{
                    width: 112px;
                    height: 42px;
                    text-align: center;
                }
                input{
                    width: 36px;
                }
                div{
                    font-size: 12px;
                    color: #d44d44;
                    height: 20px;
                    text-align: center;
                }
            }
            .cart-item-r-3{
                width: 137px;
                height: 36px;
                margin-top: 45px;
                text-align: center;
                p:nth-child(1){
                    font-size: 14px;
                    color: #666;
                }
                p:nth-child(2){
                    font-size: 12px;
                    color: #d44d44;
                }
            }
            .cart-item-r-4{
                text-align: center;
                line-height: 110px;
            }
        }
    }
}
.w{
    width: 1220px;
    margin: 0 auto;
}
.cart-bottom{
    width: 1218px;
    height: 81px;
    border-top: 1px solid #999;
    padding: 10px 0px;
    .cart-bottom-l{
        box-sizing: border-box;
        width: 208px;
        height: 80px;
        float: left;
        padding: 30px 26px;
        font-size: 12px;
        span{
            float: left;
            line-height: 20px;
            cursor: pointer;
        }
        span:nth-child(2){
            padding-left: 8px;
            font-size: 12px;
            color: #666;

        }
        div{
            float: left;
            font-size: 12px;
            color: #bbb;
            padding-left: 10px;
            line-height: 20px;
            cursor: pointer;
        }
        div:before{
            content: "|";
            padding-right: 10px;
        }
    }
    .cart-bottom-r{
        width: 541px;
        height: 80px;
        float: right;
        padding: 20px 15px;
        box-sizing: border-box;
        .cart-bottom-r1{
            width: 160px;
            height: 42px;
            padding: 0px 20px;
            float: left;
            text-align: center;
            h5:nth-child(1){
                font-size: 14px;
                color: #323232;
                // float: left;
                p{
                    display: inline-block;
                    width: 28px;
                    height:20px ;
                    color: #d44d44;
                }

            }
            h5:nth-child(2){
                font-size: 14px;
                color: #959595;
                margin-top: 4px;
                p{
                    width: 28px;
                    height: 18px;
                    display: inline-block;
                }

            }
        }
        .cart-bottom-r2{
            width: 178px;
            height: 42px;
            padding-left:20px;
            float: left;
            box-sizing: border-box;
            border-left: 1px solid #999;
            h5:nth-child(1){
                font-size: 14px;
                color: #323232;
                span{
                    color: #d44d44;
                }
                span:nth-child(1){
                    padding-left: 5px;
                }
                span:nth-child(2){
                    font-size: 18px;
                    padding-left: 2px;
                    line-height: 18px;
                }
            }
            h5:nth-child(2){
                font-size: 14px;
                color: #959595;
                margin-top: 4px;
                span:nth-child(1){
                    padding-left: 5px;
                }
                span:nth-child(2){
                    // font-size: 18px;
                    padding-left: 2px;
                    line-height: 18px;
                }
            }
        }
        .cart-bottom-r3{
            float: left;
            width: 128px;
            height: 42px;
            border-radius: 9px;
            cursor: pointer;
            background: #5079d9;
            text-align: center;
            line-height: 42px;
            a{
                text-decoration: none;
                color: #fff;
                font-size: 16px;
            }
        }
    }
}